import{createRouter,createWebHistory} from 'vue-router';


import indexView from '../components/indexView';
import Ybp from '../components/Ybp';
import Jsgl from '../components/Jsgl';
import Xsgl from '../components/Xsgl';
import Gggl from '../components/Gggl';
import Xtpz from '../components/Xtpz';
import Ptfwq from '../components/Ptfwq';
import Wtlb from '../components/Wtlb';
import Zjtm from '../components/Zjtm';
import Drdctm from '../components/Drdctm';
import Bslb from '../components/Bslb';
import Cjbs from '../components/Cjbs';
import Kclb from '../components/Kclb';
import Cjkc from '../components/Cjkc';

const routes = [
    {
        path:'/',
        name:'indexView',
        redirect:'/Ybp',
        component:indexView
    },{
        path:'/ybp',
        name:'Ybp',
        component:Ybp
    },{
        path:'/jsgl',
        name:'Jsgl',
        component:Jsgl
    },{
        path:'/xsgl',
        name:'Xsgl',
        component:Xsgl
    },{
        path:'/gggl',
        name:'Gggl',
        component:Gggl
    },{
        path:'/xtpz',
        name:'Xtpz',
        component:Xtpz
    },{
        path:'/ptfwq',
        name:'Ptfwq',
        component:Ptfwq
    },{
        path:'/wtlb',
        name:'Wtlb',
        component:Wtlb
    },{
        path:'/zjtm',
        name:'Zjtm',
        component:Zjtm
    },{
        path:'/drdctm',
        name:'Drdctm',
        component:Drdctm
    },{
        path:'/bslb',
        name:'Bslb',
        component:Bslb
    },{
        path:'/cjbs',
        name:'Cjbs',
        component:Cjbs
    },{
        path:'/kclb',
        name:'Kclb',
        component:Kclb
    },{
        path:'/cjkc',
        name:'Cjkc',
        component:Cjkc
    }
];

const router = createRouter({
    history:createWebHistory(process.env.BASE_URL),
    routes
});

export default router;